package com.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.common.ajax.AjaxRes;
import com.entity.XinWenLanMu;
import com.service.XwlmService;
@Controller
@RequestMapping("/xwlm/manager")
public class XwlmController {
	@Autowired
	private XwlmService xwlmService;
	@RequestMapping("/find")
	@ResponseBody
	public AjaxRes find(XinWenLanMu xwlm){
		AjaxRes res = new AjaxRes();
		List<XinWenLanMu> xszxs= xwlmService.find(xwlm);
		res.setSucceed(xszxs,"获取数据成功");
		return res;
	}

}
